package com.hunttown.mes.rpc.api;

import com.hunttown.mes.rpc.domain.AnalysisManageRightRoleMenuRelDTO;
import com.hunttown.mes.rpc.domain.query.AnalysisManageRightRoleMenuRelDTOQuery;
import com.hunttown.common.domain.Page;

import java.util.List;

/**
 * created by wangjunfu on 2018-11-26 15:06:03
 */
public interface AnalysisManageRightRoleMenuRelRpcService {

    AnalysisManageRightRoleMenuRelDTO insert(AnalysisManageRightRoleMenuRelDTO analysisManageRightRoleMenuRelDTO);

    Boolean updateInfoById(AnalysisManageRightRoleMenuRelDTO analysisManageRightRoleMenuRelDTO);

    Boolean updateInfoByQuery(AnalysisManageRightRoleMenuRelDTOQuery analysisManageRightRoleMenuRelDTOQuery);

    AnalysisManageRightRoleMenuRelDTO selectById(Integer id);

    AnalysisManageRightRoleMenuRelDTO selectObjByQuery(AnalysisManageRightRoleMenuRelDTOQuery analysisManageRightRoleMenuRelDTOQuery);

    Page<AnalysisManageRightRoleMenuRelDTO> getListForPage(AnalysisManageRightRoleMenuRelDTOQuery analysisManageRightRoleMenuRelDTOQuery);

    Boolean deleteById(Integer id);

    Boolean deletePhysicalByRoleId(Integer roleId);

    void insertForBatch(List<AnalysisManageRightRoleMenuRelDTO> list);
}